package list;


public class TestArrayList {
	public static void main(String[] args) {
		DirtyArrayList list = new DirtyArrayList();
		list.add("chen");
		list.add("ke");
		list.add("wen");
		list.add("tweller");
		System.out.println(list.toString());
		list.remove(1);
		System.out.println(list.toString());
		list.add("sss");
		System.out.println(list.toString());
		System.out.println(list.contains("we"));
		list.add(0, "first");
		list.add(3, "third");
		System.out.println(list.toString());
		list.set(3, "set third");
		System.out.println(list.toString());
	}
}
